package com.sinosoft.generator.executor;

import com.sinosoft.generator.builder.BusinessBuilder;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @ClassName: BusinessExecutor
 * @ClassNameExplain: 
 * @Description: 
 * @author xzh
 * @date 2016年9月4日 下午5:38:32
 */
public class BusinessExecutor {

	public static void main(String[] args) {
		SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm");
		String date = dateFormat.format(new Date());
		BusinessBuilder businessBuilder = new BusinessBuilder();
		businessBuilder
				.setTplType(BusinessBuilder.TemplateType.API)
				.setPackageName("com.sinosoft.vaccinetoai.server.business.h3cai")
				.setModuleName("WorkflowChat")
				.setBeanNamePrefix("")
				.setDesc("工作流聊天接口")
				.setVersion("1.0.3")
				.setCtrlMapping("workflow")
				.setMethodMapping("chat")
				.setAuthor("xzh")
				.setDate(date)
				.setCleanDir(true)
				.build();

	}

}
